﻿using System;
using System.Data;
using System.Data.Linq;
using System.Data.Linq.Mapping;

namespace PushEmail.Common
{
    [Table]
	public partial class RecentContact 
	{
		
		private uint _contactId = default(uint);
		
		private string _emailAddress;

        private string _addDateTime;
		

		
		public RecentContact()
		{
	
		}
		
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_contactId", AutoSync=AutoSync.OnInsert, IsPrimaryKey=true, IsDbGenerated=true, UpdateCheck=UpdateCheck.Always)]
		public uint contactId
		{
			get
			{
				return this._contactId;
			}
		}
		
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_emailAddress", CanBeNull=false, IsPrimaryKey=true)]
		public string emailAddress
		{
			get
			{
				return this._emailAddress;
			}
			set
			{
				if ((this._emailAddress != value))
				{
					this._emailAddress = value;
				}
			}
		}

        [global::System.Data.Linq.Mapping.ColumnAttribute(Storage = "_addDateTime", CanBeNull = false,DbType = "NVarChar(32)")]
        public string addDateTime
        {
            get
            {
                return this._addDateTime;
            }
            set
            {
                if ((this._addDateTime != value))
                {
                    this._addDateTime = value;
                }
            }
        }
	}
}

